#include<stdio.h>
int main()
{
    char ch;
    int num1, num2, result;
    scanf("%d %c %d",&num1, &ch, &num2);
    switch(ch) {
        case '+' :
            result = num1 + num2;
            printf("%d",result);
            break;
        case '-' :
            result = num1 - num2;
            printf("%d",result);
            break;
        case '*':
            result = num1 * num2;
            printf("%d",result);
            break;
        case '/':
            result = num1 / num2;
            printf("%d",result);
            break;
        case '%':
            result = num1 % num2;
            printf("%d",result);
            break;
        default:
            printf("ERROR");
            break;
    }
    return 0;
}